php get file contents

41

php get and print file contents -

<?php
// Read 14 characters starting from the 21st character
$section = file_get_contents('./people.txt', FALSE, NULL, 20, 14);
var_dump($section);
?>

transfer file using file_get_content -

$header = 'Content-Type: multipart/form-data; boundary='.MULTIPART_BOUNDARY;

Comments

Submit
0 Comments